package ru.niir.goodfil.ui.models;


import ru.niir.goodfil.utils.SumFormat;

public class StoreAnsenceModel {
    private int ordersCount;
    private String goodCode;
    private int goodCount;
    private double lossCost;
    private long purchasePrice;

    public int getOrdersCount() {
        return ordersCount;
    }

    public void setOrdersCount(int ordersCount) {
        this.ordersCount = ordersCount;
    }

    public String getGoodCode() {
        return goodCode;
    }

    public void setGoodCode(String goodCode) {
        this.goodCode = goodCode;
    }

    public int getGoodCount() {
        return goodCount;
    }

    public void setGoodCount(int goodCount) {
        this.goodCount = goodCount;
    }

    public double getLossCost() {
        return lossCost;
    }

    public void setLossCost(double lossCost) {
        this.lossCost = lossCost;
    }

    public long getPurchasePrice() {
        return purchasePrice;
    }

    public void setPurchasePrice(long purchasePrice) {
        this.purchasePrice = purchasePrice;
    }

    public String getLossCostAsString() {
        return SumFormat.formatSum("###,###,##0.00", lossCost);
    }
}
